home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / gettxt.z / gettxt
Text File  |  1998-10-20  |  7KB  |  132 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttttttxxxxtttt((((1111))))                                                            ggggeeeettttttttxxxxtttt((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _gggg_eeee_tttt_tttt_xxxx_tttt - retrieve a text string from a message database
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _gggg_eeee_tttt_tttt_xxxx_tttt _m_s_g_f_i_l_e_::::_m_s_g_n_u_m _[[[[_d_f_l_t__m_s_g_]]]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _gggg_eeee_tttt_tttt_xxxx_tttt retrieves a text string from a message file in the directory
  16.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS.  The directory name _l_o_c_a_l_e
  17.      corresponds to the language in which the text strings are written; see
  18.      _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C) and _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5).
  19.  
  20.      _m_s_g_f_i_l_e   Name of the file from which to retrieve _m_s_g_n_u_m.  The name can
  21.                be up to 14 characters in length, but may not contain either \0
  22.                (_NNNN_UUUU_LLLL_LLLL) or the characters _//// (slash) or _::::  (colon).
  23.  
  24.      _m_s_g_n_u_m    Sequence number of the string to retrieve from _m_s_g_f_i_l_e.  The
  25.                strings in _m_s_g_f_i_l_e are numbered sequentially from 1 to _n, where
  26.                _n is the number of strings in the file.
  27.  
  28.      _d_f_l_t__m_s_g  Default string to be displayed if _gggg_eeee_tttt_tttt_xxxx_tttt fails to retrieve
  29.                _m_s_g_n_u_m from _m_s_g_f_i_l_e.  Nongraphic characters must be represented
  30.                as alphabetic escape sequences.
  31.  
  32.      The text string to be retrieved is in the file _m_s_g_f_i_l_e, created by the
  33.      _mmmm_kkkk_mmmm_ssss_gggg_ssss(1) utility and installed under the directory
  34.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS.  The directory searched is specified
  35.      by the environment variable _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS.  If _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS is not set, the
  36.      environment variable _LLLL_AAAA_NNNN_GGGG will be used.  If _LLLL_AAAA_NNNN_GGGG is not set, the files
  37.      containing the strings are under the directory
  38.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS.
  39.  
  40.      If _gggg_eeee_tttt_tttt_xxxx_tttt fails to retrieve a message in the requested language, it will
  41.      try to retrieve the same message from
  42.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_m_s_g_f_i_l_e.  If this also fails, and if
  43.      _d_f_l_t__m_s_g is present and non-empty, then it will display the value of
  44.      _d_f_l_t__m_s_g; if _d_f_l_t__m_s_g is not present or is empty, then it will display
  45.      the string _MMMM_eeee_ssss_ssss_aaaa_gggg_eeee _nnnn_oooo_tttt _ffff_oooo_uuuu_nnnn_dddd_!!!!_!!!!_\\\\_nnnn.  If the environment variables _LLLL_AAAA_NNNN_GGGG or
  46.      _LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS have not been set to other than their default values,
  47.           _gggg_eeee_tttt_tttt_xxxx_tttt _UUUU_XXXX_::::_1111_0000 _""""_hhhh_eeee_llll_llll_oooo _wwww_oooo_rrrr_llll_dddd_\\\\_nnnn_""""
  48.      will try to retrieve the 10th message from
  49.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_UUUU_XXXX.  If the retrieval fails, the message
  50.      _hhhh_eeee_llll_llll_oooo _wwww_oooo_rrrr_llll_dddd, followed by a newline, will be displayed.
  51.  
  52. FFFFIIIILLLLEEEESSSS
  53.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_CCCC_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_****
  54.           default message files created by _mmmm_kkkk_mmmm_ssss_gggg_ssss(1)
  55.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_****
  56.           language-specific message files created by _mmmm_kkkk_mmmm_ssss_gggg_ssss(1)
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                                                         PPPPaaaaggggeeee 1111
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69. ggggeeeettttttttxxxxtttt((((1111))))                                                            ggggeeeettttttttxxxxtttt((((1111))))
  70.  
  71.  
  72.  
  73.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee_...._aaaa_bbbb_iiii
  74.           language-specific message file for _gggg_eeee_tttt_tttt_xxxx_tttt
  75. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  76.      _eeee_xxxx_ssss_tttt_rrrr(1), _mmmm_kkkk_mmmm_ssss_gggg_ssss(1), _ssss_rrrr_cccc_hhhh_tttt_xxxx_tttt(1), _gggg_eeee_tttt_tttt_xxxx_tttt(3C), _ssss_eeee_tttt_llll_oooo_cccc_aaaa_llll_eeee(3C)
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.                                                                         PPPPaaaaggggeeee 2222
  129.  
  130.  
  131.  
  132.